package org.example.service.impl;

import org.example.dao.StudentDao;
import org.example.service.StudentService;

public class StudentServiceImpl implements StudentService {
    private StudentDao studentDao;
    public void setStudentDao(StudentDao studentDao) {
        this.studentDao = studentDao;
    }
    @Override
    public void getDao() {
        System.out.println("service运行起来了");
        studentDao.save();
    }
}
